package com.base.service;

import com.base.po.ip.IpStored;
import com.base.po.ip.IpStoredExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IpStoredService {
    int countByExample(IpStoredExample example);

    int deleteByExample(IpStoredExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(IpStored record);

    int insertSelective(IpStored record);

    List<IpStored> selectByExample(IpStoredExample example);

    List<IpStored> selectByIpAddress(String ipaddress);

    IpStored selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") IpStored record, @Param("example") IpStoredExample example);

    int updateByExample(@Param("record") IpStored record, @Param("example") IpStoredExample example);

    int updateByPrimaryKeySelective(IpStored record);

    int updateByPrimaryKey(IpStored record);
}